package com.backoffice.util {
    public class StringUtils {
         public static function FirstCharToUpperCase(originalString:String):String {
            var pattern:RegExp = /(\w{0,1})(\w+)/g;
            return originalString.replace(pattern, function():String {
                return (arguments[1] as String).toUpperCase() + arguments[2];
            });
        }
    }
}